Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rmc-picker

Package Overview
Dependencies
Maintainers
3
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rmc-picker

React Mobile Picker Component(web and react-native)

  • 3.10.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22K
increased by3.59%
Maintainers
3
Weekly downloads
 
Created
Source

rmc-picker


React Mobile Picker Component (web and react-native)

NPM version react-native react build status Test coverage gemnasium deps npm download

Screenshots

Development

npm i
npm start

Example

http://localhost:8000/examples/

online example: http://react-component.github.io/m-picker/

react-native

./node_modules/rc-tools run react-native-init
react-native run-ios

install

rmc-picker

Usage

see example

API

Picker props

namedescriptiontypedefault
className(web)additional css class of root dom nodeString
prefixCls(web)prefix classString''
itemStyleStyle to apply to each of the item.object
defaultSelectedValue(web)default selected values corresponding to the input data abovestring/number
selectedValuecurrent selected values corresponding to the input data abovestring/number
onValueChangefire when picker changeFunction(value)
childrenarray of picker items[{label, value}]
purewhether children is immutablebooltrue
disabledwhether picker is disabledboolfalse

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rmc-picker is released under the MIT license.

Keywords

FAQs

Package last updated on 26 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc